package com.ksframework.common.exception;

/**
 * Web层异常类 <p>
 * 所以web层均抛出此异常。
 * 
 * @author： Snoopy Chen (ctfzh@yahoo.com.cn)
 * @version 1.0
 */
public class WebException extends RuntimeException{
	
	private static final long serialVersionUID = 7634736969218333842L;

	public WebException(String msg) {
		super(msg);
	}

	public WebException(Throwable t) {
		super(t);
		setStackTrace(t.getStackTrace());
	}

	public WebException(String msg, Throwable t) {
		super(msg, t);
		setStackTrace(t.getStackTrace());
	}

}
